package com.wxs;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages="com.wxs")
@MapperScan("com.wxs.mapper")
@EnableEurekaClient
@EnableFeignClients
//@EnableDiscoveryClient可以是任意注册中心EnableEurekaClient只能是eureka注册中心
public class MyApp {
//	启动器
	public static void main(String[] args) {
		SpringApplication.run(MyApp.class, args);
	}
}
